package com.sanley.piss.model.po;

import com.sanley.piss.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author 张凯大天才
 */
@EqualsAndHashCode
@Data
@ApiModel(value = "数据字典类型",description = "数据字典类型说明")
public class DictionaryType extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 7611592904182451373L;

    @ApiModelProperty(value = "数据字典名称")
    @NotBlank(message = "数据字典名称不能为空")
    private String dicTypeName;

    @ApiModelProperty(value = "账号状态   0：正常  1：锁定  2：禁用,后端填充",hidden = true)
    private Integer states;

    @ApiModelProperty(value = "备注")
    private String remarks;
}